package com.hyjx.framework.uc.role;

import com.hyjx.framework.orm.IBaseModel;

import java.io.Serializable;

/**
 * 数据权限管理-角色信息表
 */
public class RoleModel implements Serializable, IBaseModel {
    private String role_id;//角色ID
    private String role_name;//角色名称
    private String role_desc;//角色描述
    private String role_type;//角色类型[1:管理员角2:公共角色;3:普角色]
    private String org_code;//创建单位
    private String org_name;//创建单位
    private String depart_code;//创建单位
    private String create_user_id;//创建人ID
    private String create_time;//创建时间
    private String validity;//是否有效[Y:N:否]

    private String role_ids;
    private String menuCodes;
    private String userIsAdmin = "0";
    private String levelId = "";
    private String orgCodes;
    private String editAble = "0";
    private String parentOrgCodes = "";
    private String roleTypeName = "";

    public String getRoleTypeName() {
        return roleTypeName;
    }

    public void setRoleTypeName(String roleTypeName) {
        this.roleTypeName = roleTypeName;
    }

    public String getEditAble() {
        return editAble;
    }

    public void setEditAble(String editAble) {
        this.editAble = editAble;
    }

    public String getOrgCodes() {
        return orgCodes;
    }

    public void setOrgCodes(String orgCodes) {
        this.orgCodes = orgCodes;
    }

    public String getLevelId() {
        return levelId;
    }

    public void setLevelId(String levelId) {
        this.levelId = levelId;
    }

    public String getUserIsAdmin() {
        return userIsAdmin;
    }

    public void setUserIsAdmin(String userIsAdmin) {
        this.userIsAdmin = userIsAdmin;
    }

    public String getRole_id() {
        return role_id;
    }

    public void setRole_id(String role_id) {
        this.role_id = role_id;
    }

    public String getRole_name() {
        return role_name;
    }

    public void setRole_name(String role_name) {
        this.role_name = role_name;
    }

    public String getRole_desc() {
        return role_desc;
    }

    public void setRole_desc(String role_desc) {
        this.role_desc = role_desc;
    }

    public String getRole_type() {
        return role_type;
    }

    public void setRole_type(String role_type) {
        this.role_type = role_type;
    }

    public String getOrg_code() {
        return org_code;
    }

    public void setOrg_code(String org_code) {
        this.org_code = org_code;
    }

    public String getDepart_code() {
        return depart_code;
    }

    public void setDepart_code(String depart_code) {
        this.depart_code = depart_code;
    }

    public String getCreate_user_id() {
        return create_user_id;
    }

    public void setCreate_user_id(String create_user_id) {
        this.create_user_id = create_user_id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getValidity() {
        return validity;
    }

    public void setValidity(String validity) {
        this.validity = validity;
    }

    public String getRole_ids() {
        return role_ids;
    }

    public void setRole_ids(String role_ids) {
        this.role_ids = role_ids;
    }

    public String getMenuCodes() {
        return menuCodes;
    }

    public void setMenuCodes(String menuCodes) {
        this.menuCodes = menuCodes;
    }

    public String getOrg_name() {
        return org_name;
    }

    public void setOrg_name(String org_name) {
        this.org_name = org_name;
    }

    public String getParentOrgCodes() {
        return parentOrgCodes;
    }

    public void setParentOrgCodes(String parentOrgCodes) {
        this.parentOrgCodes = parentOrgCodes;
    }
    
    @Override
    public String getModuleName() {
        return "com.hyjx.framework.uc.role";
    }
}